package com.cleaningcloud.erp.domain;

import com.cleaningcloud.common.core.web.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import com.cleaningcloud.common.core.annotation.Excel;

import java.math.BigDecimal;

/**
 * 退换货明细对象 erp_return_details
 * 
 * @author cleaningcloud
 * @date 2024-10-03
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class ErpReturnDetails extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 退换货明细ID */
    private Long returnDetailsId;

    /** 单据ID */
    @Excel(name = "单据ID")
    private Long orderId;

    /** 单据号 */
    @Excel(name = "单据号")
    private String orderOdd;

    /** 单据类型(1采购2销售) */
    @Excel(name = "单据类型(1采购2销售)")
    private Integer orderType;

    /** 单据类型(1采购2销售) */
    @Excel(name = "商品类型(1销售单商品2退换货商品)")
    private Integer returnCommodityType;

    /** 收付款方式(1现金2微信3支付宝4银行转账) */
    @Excel(name = "收付款方式(1现金2微信3支付宝4银行转账)")
    private Integer payType;

    /** 商品ID */
    @Excel(name = "商品ID")
    private Long commodityId;

    /** 商品单位ID */
    @Excel(name = "商品单位ID")
    private Long commodityUnitId;

    /** 退换数量 */
    @Excel(name = "退换数量")
    private int commodityNumber;

    /** 退换单价 */
    @Excel(name = "退换单价")
    private BigDecimal salePrice;

    /** 退货类型(1退货2退换3新换) */
    @Excel(name = "退货类型(1退货2退换3新换)")
    private Integer returnType;


}
